package com.briup.labs.service;

import com.briup.labs.pojo.Labs;
import com.briup.labs.pojo.PageBean;
import com.briup.labs.pojo.SmartLabs;
import com.briup.labs.pojo.SmartLabsAdminR;

import java.util.List;

public interface SmartLabsService {

    //查询所有
    List<SmartLabs> all();

    //分页查询
    //PageBean<Labs> list(String pageNum, String pageSize, List<SmartLabs> smartLabs);
    PageBean<Labs> list(String pageNum, String pageSize, String key);
    List<SmartLabs> list(String key);

    //插入修改
    void saveOrUpdate(SmartLabs smartLabs);

    //插入修改负责人
    void saveOrUpdateLabsAndUser(SmartLabsAdminR smartLabsAdminR);

    //删除
    void delete(Integer id);
}
